import post from './base.js'

export const announcementListReq = formData => post('announcement/list', formData)

export const announcementActionReq = formData => post('announcement/action', formData)

export const announcementDelReq = formData => post('announcement/del', formData)

export const announcementChangeShowReq = formData => post('announcement/change-show', formData)

export const ANNOUNCEMENT_JUMP_TYPE = [
    {
        label: '文章',
        value: 'article'
    },
    {
        label: '商品',
        value: 'goods'
    },

]